package ex.mlist;

import android.app.Activity;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;

 public class Main extends Activity{
	
	
	private Button button_ringtone;
	private Button button_schedule;
	
	/** Called when the activity is first created. */
	@Override
	protected void onCreate(Bundle savedInstanceState) 
	{
		super.onCreate(savedInstanceState);
		setContentView(R.layout.rmain);
		
		button_ringtone=(Button) findViewById(R.id.ringtone);
		button_schedule=(Button) findViewById(R.id.schedule);
		
		
		button_ringtone.setOnClickListener(new OnClickListener() 
		{
			
			public void onClick(View v)
			{
				
				Intent intent=new Intent(Main.this,ManagerActivity1.class);
				startActivity(intent);
				
			}

		});
		
		
		
		button_schedule.setOnClickListener(new OnClickListener() 
		{
			
			public void onClick(View v)
			{
				
				Intent intent=new Intent(Main.this,Scheduler.class);
				startActivity(intent);
				
			}

		});
	}
	
/*	public void ringButtonHandler(View v)
	{
		Intent intent=new Intent(Main.this,ManagerActivity.class);
		startActivity(intent);

	}
	
	
	public void scheduleButtonHandler(View v)
	{
		Intent intent=new Intent(Main.this,Scheduler.class);
		startActivity(intent);
	}*/

}
 

